function PlayerCamera(){}

PlayerCamera.prototype = new Entity();

PlayerCamera.prototype.offsetX;
PlayerCamera.prototype.offsetY;
PlayerCamera.prototype.zoomFactor;


PlayerCamera.prototype.init = function()
{
  this.zoomFactor = 0;
  this.offsetX = 0;
  this.offsetY = 0;
}

PlayerCamera.prototype.update = function()
{
  if (RTE.InputManager.KeyboardInput.pressedKey["left"] == true) {
    this.offsetX += 3;
  }
  if (RTE.InputManager.KeyboardInput.pressedKey["right"] == true) {
    this.offsetX -= 3;
  }
}